//
//  ConfirmGoodCell.m
//  GoBigMarket
//
//  Created by legend on 16/9/1.
//  Copyright © 2016年 legend. All rights reserved.
//

#import "ConfirmGoodCell.h"
#import "ConfirmGoodsModel.h"
@implementation ConfirmGoodCell

- (void)awakeFromNib {
    [super awakeFromNib];
}
- (void)setModel:(ConfirmGoodsModel *)model {
    NSString *str = [ReleaseORDebug stringByAppendingString:model.ImgUrl];
    NSURL *url = [NSURL URLWithString:str];
    [self.imageUrl sd_setImageWithURL:url];
    self.price.text = [NSString stringWithFormat:@"%.2f元", model.Price];
    self.count.text = [NSString stringWithFormat:@"X%d", model.count];
    self.name.text = model.ProductName;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
